package com.itheima.mall.service;

import com.itheima.mall.client.DemoClient;
import com.itheima.mall.pojo.Demo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DemoService {


    /**
     * demo
     */
    public Demo getDemo(String name, Long age) {
        Demo demo = new Demo();
        demo.setName(name);
        demo.setAge(age);
        return demo;
    }


}
